package com.nts.bupna.errors;

public class ConsoleReporter implements Reporter {

    private boolean hasErrors;

    @Override
    public void reportError(final Error error) {
        System.err.println(error.getMessage());
        hasErrors = true;
    }

    @Override
    public boolean hasErrors() {
        return hasErrors;
    }
}
